package neuroPoker4.netze.tool;

import neuroPoker.netze.DOPRechner;

public class DOPRechner2 implements DOPRechner {

	public double getFoldDOP(double invested) {
		return getDOP(-invested);
	}

	public double getDOP(double won) {
		double dop = 0.5 + won / 80.;
		if (dop > 0.999999)
			dop = 0.999999;
		else if (dop < 0.0000001)
			dop = 0.0000001;

		return dop;
	}
}
